package com.online.teaching.module.teacher.teaches.service;

import com.github.pagehelper.PageInfo;
import com.online.teaching.module.teacher.teaches.domain.vo.GetStudentListVO;
import com.online.teaching.module.teacher.teaches.domain.vo.GetTeachesListVO;

import java.util.List;

/**
 * @author yg
 */
public interface TeacherTeachesService {
    /**
     * 获取一位老师的授课列表
     * @param teacherId
     * @return
     */
    List<GetTeachesListVO> getTeachesList(Integer teacherId);

    /**
     * 查询选某一门课的学生列表
     * @param teachesId
     * @param page
     * @param size
     * @return
     */
    PageInfo<GetStudentListVO>getTeachesStudentList(Integer teachesId,Integer page,Integer size);

    /**
     * 老师编辑课程介绍
     * @param intro
     * @param teachesId
     * @return
     */
    int editIntroduction(String intro,Integer teachesId);
}
